<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>表格标签</title>
</head>

<body>
  <!-- 
    table 定义表格
        tr 行
            th 表头
            td 表格
   -->
  <table border="1" cellspacing="0" cellpadding="5">
    <caption>学生表</caption>
    <!--表格标题-->
    <tr>
      <th width="100">姓名</th>
      <th width="100">性别</th>
    </tr>
    <tr>
      <td>老余</td>
      <td>男</td>
    </tr>
  </table>
</body>

</html>